package com.bw.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "sys_order")
public class SysOrder {
    @TableId(value = "id", type = IdType.INPUT)
    @ExcelIgnore
    private Integer id;

    @TableField(value = "user_name")
    @ExcelProperty(value = {"租金明细导出","用户名"})
    private String userName;

    @TableField(exist = false)
    @ExcelProperty(value = {"租金明细导出","账单月份"})
    private String ym;
    @TableField(exist = false)
    @ExcelProperty(value = {"租金明细导出","总费用"})
    private String total;
    @TableField(exist = false)
    @ExcelProperty(value = {"租金明细导出","房租"})
    private String fang;
    @TableField(exist = false)
    @ExcelProperty(value = {"租金明细导出","水费"})
    private String shui;
    @TableField(exist = false)
    @ExcelProperty(value = {"租金明细导出","电费"})
    private String dian;
    @TableField(exist = false)
    @ExcelProperty(value = {"租金明细导出","网费"})
    private String wang;
    @TableField(exist = false)
    @ExcelProperty(value = {"租金明细导出","物业费"})
    private String wu;

    @TableField(value = "order_num")
    @ExcelIgnore
    private String orderNum;

    @TableField(value = "order_type")
    @ExcelIgnore
    private String orderType;

    @TableField(value = "amount")
    @ExcelIgnore
    private String amount;

    @TableField(value = "pay_type")
    @ExcelIgnore
    private String payType;

    @TableField(value = "pay_time")
    @ExcelIgnore
    private Date payTime;

    @TableField(value = "create_time")
    @ExcelIgnore
    private Date createTime;

    @TableField(value = "`status`")
    @ExcelIgnore
    private String status;


}